/*
 * $Id: DateEquals.java,v 1.1 2010/06/19 14:34:57 cvs Exp $ 
 *
 * 文件名称:DateEquals.java
 *
 * 创建日期:2004-8-16
 *
 * 版权所有:广州绿岛(www.gzld.net)
 */
package cn.org.timespace.easyframe.util.QueryForm;

/**
 *
 *
 * @author  Allen 
 * 
 * @version $Revision: 1.1 $ $Date: 2010/06/19 14:34:57 $ 
 */

public class DateEquals implements FieldType{

    /** 
     * @param value
     * @param field
     * @return
     *
     * @see cn.com.wcn.oa.util.QueryForm.FieldType#getTypeQueryString(java.lang.String, java.lang.String)
     */
    public String getTypeQueryString(String value, String field) {
        return "(" + field + " >= '" + value + " 00:00:00.000') AND (" + 
				field + " <= '" + value  + " 23:59:59.999') AND ";
    }
}
